package com.lhh.company.website.utils;

import com.alibaba.druid.support.json.JSONUtils;
import com.alibaba.fastjson.JSON;
import org.junit.jupiter.api.Test;

import java.io.File;

import static org.junit.jupiter.api.Assertions.*;

class ExcelUtilsTest {

    @Test
    void read() throws Exception {
        System.out.println(JSON.toJSON(ExcelUtils.read(new File("C://1.xls"))));
        System.out.println(JSON.toJSON(ExcelUtils.read(new File("C://2.xlsx"))));
    }
}